/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package calculator.entities;

import exceptions.DivideByZeroException;

/**
 *
 * @author Dargor
 */
public interface IMathEntity {

    
    public IMathEntity add(IMathEntity a);
    public IMathEntity substract(IMathEntity a);
    public IMathEntity divide(IMathEntity a) throws DivideByZeroException;
    public IMathEntity multiply(IMathEntity a);

    public IntegerNumber parseIntegerNumber();
    public MyVector parseMyVector();
    public SuperBigNumber parseSuperBigNumber();

    public IMathEntity doAction(String action, IMathEntity operand) throws DivideByZeroException;
}
